﻿@model prufa.Models.LocalPasswordModel

<h3 id="NotCenterButRight">Breyta lykilorði</h3>

@using (Html.BeginForm("Manage", "Account")) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Change Password Form</legend>
        <ol>
            <li>
                @Html.PasswordFor(m => m.OldPassword, new { @placeholder = "Núverandi lykilorð" })
                @Html.ValidationMessageFor(m => m.OldPassword)
            </li>
            <li>
                @Html.PasswordFor(m => m.NewPassword, new { @placeholder = "Nýtt lykilorð" })
                @Html.ValidationMessageFor(m => m.NewPassword)
            </li>
            <li>
                @Html.PasswordFor(m => m.ConfirmPassword, new { @placeholder = "Staðfesta nýtt lykilorð" })
                @Html.ValidationMessageFor(m => m.ConfirmPassword)
            </li>
        </ol>
        <input id="awesomeButton" type="submit" value="Breyta lykilorði"/>
    </fieldset>
}
